package cn.tedu.inter;

public class TestInter2 {
    public static void main(String[] args) {
        Inter2 i = new Inter2Impl();
        i.get();
        i.play();
        Inter2Impl i2 = new Inter2Impl();
        i2.get();
        i2.play();
    }
}
interface Inter2{
    public abstract void get();
    public abstract void play();
}
class Inter2Impl  implements Inter2{

    @Override
    public void get() {
        System.out.println("我不是纯纯的子类");
    }

    @Override
    public void play() {
        System.out.println("实现");
    }
}